// 是否需要配置权限控制(false时不开启权限控制)
export const PERMISSION_CONTROL = true;
export const DEFAULT_ERROR_MSG = '网络有问题，请稍后再试'
export const WEB_TITLE_PREFIX = '费曼智能陪练系统'

/**
 * 翻页的常量定义
 */
export const PAGE_CONFIG = {
  pageSizes: [10, 20, 30, 40],
  layout: 'prev, pager, next, jumper, sizes, total', // , jumper
  simpleLayout: 'prev, pager, next',
  defaultPageSize: 10,
  defaultPageNo: 1,
}

export const FILE_MIME_TYPE = {
  1: 'video/mp4,video/webm,video/ogg',
  2: 'audio/mpeg,audio/ogg,audio/wav',
  3: 'image/jpg,image/jpeg,image/png,image/gif'
}

export const FUN_IDS_OPTIONS = {
  // 0: { codeNum: '101', codeName: 'AI话术切片', codeTypeNum: 'FUN_IDS_OPTIONS' },
  1: { codeNum: '102', codeName: '话术跟读', codeTypeNum: 'FUN_IDS_OPTIONS' },
  2: { codeNum: '103', codeName: '脱稿演练', codeTypeNum: 'FUN_IDS_OPTIONS' },
  3: { codeNum: '104', codeName: '模拟对话', codeTypeNum: 'FUN_IDS_OPTIONS' },
  // 4: { codeNum: '105', codeName: '智能复习', codeTypeNum: 'FUN_IDS_OPTIONS' }
}

export const EXERCISE_TYPE = {
  102: '话术跟读',
  103: '脱稿演练',
  104: '模拟对话',
}
